package com.qsw.paper.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author qsw
 * @since 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("theses")
@ApiModel(value="Theses对象", description="")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Theses implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "论文唯一标识")
    @TableId(value = "thesis_id", type = IdType.AUTO)
    private Integer thesisId;

    @ApiModelProperty(value = "论文标题")
    private String title;

    @ApiModelProperty(value = "学生ID，外键，关联学生表")
    private Integer studentId;

    @ApiModelProperty(value = "导师ID，外键，关联导师表")
    private Integer advisorId;

    @ApiModelProperty(value = "提交日期")
    private LocalDateTime submissionDate;

    @ApiModelProperty(value = "论文状态：0-待审，1-修改中，2-通过，3-不通过")
    private Integer status;

    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime lastUpdated;


}
